package com.first.common.pojo;

import java.io.Serializable;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 
* @TableName tb_link
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "友情链接管理")
@TableName(value = "tb_link")
public class TbLink implements Serializable {

    /**
    * 
    */
    @ApiModelProperty("链接序号")
    @TableField(value = "link_id")
    @TableId
    private String linkId;
    /**
    * 
    */
    @ApiModelProperty("链接路径")
    @TableField(value = "link_url")
    private String linkUrl;
    /**
    * 
    */
    @ApiModelProperty("链接名称")
    @TableField(value = "link_name")
    private String linkName;
    /**
    * 
    */
    @ApiModelProperty("链接状态")
    @TableField(value = "is_disable")
    private Integer isDisable;
    /**
    * 
    */
    @ApiModelProperty("删除状态")
    @TableField(value = "is_deleted")
    private Integer isDeleted;
    /**
    * 
    */
    @ApiModelProperty("创建时间")
    @TableField(value = "gmt_create")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private LocalDateTime gmtCreate;
    /**
    * 
    */
    @ApiModelProperty("修改时间")
    @TableField(value = "gmt_modified")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private LocalDateTime gmtModified;


}
